home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / info-service / www / src / WWW / Library / Implementation / HTFTP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-23  |  908 b   |  47 lines

  1. /*                                                               FTP access module for libwww
  2.                                    FTP ACCESS FUNCTIONS
  3.                                              
  4.    This isn't really  a valid protocol module -- it is lumped together with HTFile . That
  5.    could be changed easily.
  6.    
  7.    Author: Tim Berners-Lee. Public Domain. Please mail changes to timbl@info.cern.ch
  8.    
  9.  */
  10. #ifndef HTFTP_H
  11. #define HTFTP_H
  12.  
  13. #include "HTUtils.h"
  14. #include "HTAnchor.h"
  15. #include "HTStream.h"
  16.  
  17. /*
  18.  
  19. Retrieve File from Server
  20.  
  21.   ON EXIT,
  22.   
  23.   returns                 Socket number for file if good.<0 if bad.
  24.                          
  25.  */
  26. extern int HTFTPLoad PARAMS
  27. ((
  28.   CONST char *          name,
  29.   HTParentAnchor *      anchor,
  30.   HTFormat              format_out,
  31.   HTStream*             sink
  32. ));
  33.  
  34.  
  35. /*
  36.  
  37. Return Host Name
  38.  
  39.  */
  40. extern CONST char * HTHostName NOPARAMS;
  41.  
  42. #endif
  43.  
  44. /*
  45.  
  46.    end  */
  47.